import re
import requests
def get():
    for i in range(50):
        a = requests.get("http://www.mju.edu.cn/xxyw/list" + str(i) + ".htm")
        info = a.content.decode("utf-8")
        result = re.findall('column-news-title">(.*?)<', info)
        res2 = re.findall('<a class="column-news-item item-\d+ clearfix" href="(.*?)" ', info)
        res3 = re.search('<a class="column-news-item item-\d+ clearfix" href="(http.*?)" ', info)

        b = 0
        for item in result:

            print(item + ':', end=' ')
            if str(re.search("http", res2[b])) == "None":
                res2[b] = 'http://www.mju.edu.cn' + res2[b]
            print(res2[b])
            b = b + 1


if __name__ == '__main__':
    get()

